Optimal. Leaf size=103 \[ -\text {Int}\left (\frac {\tan (a+b x)}{(c+d x)^2},x\right )+\frac {4 b \cos \left (2 a-\frac {2 b c}{d}\right ) \text {Ci}\left (\frac {2 b c}{d}+2 b x\right )}{d^2}-\frac {4 b \sin \left (2 a-\frac {2 b c}{d}\right ) \text {Si}\left (\frac {2 b c}{d}+2 b x\right )}{d^2}-\frac {2 \sin (2 a+2 b x)}{d (c+d x)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.34, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \[ \int \frac {\sec (a+b x) \sin (3 a+3 b x)}{(c+d x)^2} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {\sec (a+b x) \sin (3 a+3 b x)}{(c+d x)^2} \, dx &=\int \left (\frac {3 \cos (a+b x) \sin (a+b x)}{(c+d x)^2}-\frac {\sin ^2(a+b x) \tan (a+b x)}{(c+d x)^2}\right ) \, dx\\ &=3 \int \frac {\cos (a+b x) \sin (a+b x)}{(c+d x)^2} \, dx-\int \frac {\sin ^2(a+b x) \tan (a+b x)}{(c+d x)^2} \, dx\\ &=3 \int \frac {\sin (2 a+2 b x)}{2 (c+d x)^2} \, dx+\int \frac {\cos (a+b x) \sin (a+b x)}{(c+d x)^2} \, dx-\int \frac {\tan (a+b x)}{(c+d x)^2} \, dx\\ &=\frac {3}{2} \int \frac {\sin (2 a+2 b x)}{(c+d x)^2} \, dx+\int \frac {\sin (2 a+2 b x)}{2 (c+d x)^2} \, dx-\int \frac {\tan (a+b x)}{(c+d x)^2} \, dx\\ &=-\frac {3 \sin (2 a+2 b x)}{2 d (c+d x)}+\frac {1}{2} \int \frac {\sin (2 a+2 b x)}{(c+d x)^2} \, dx+\frac {(3 b) \int \frac {\cos (2 a+2 b x)}{c+d x} \, dx}{d}-\int \frac {\tan (a+b x)}{(c+d x)^2} \, dx\\ &=-\frac {2 \sin (2 a+2 b x)}{d (c+d x)}+\frac {b \int \frac {\cos (2 a+2 b x)}{c+d x} \, dx}{d}+\frac {\left (3 b \cos \left (2 a-\frac {2 b c}{d}\right )\right ) \int \frac {\cos \left (\frac {2 b c}{d}+2 b x\right )}{c+d x} \, dx}{d}-\frac {\left (3 b \sin \left (2 a-\frac {2 b c}{d}\right )\right ) \int \frac {\sin \left (\frac {2 b c}{d}+2 b x\right )}{c+d x} \, dx}{d}-\int \frac {\tan (a+b x)}{(c+d x)^2} \, dx\\ &=\frac {3 b \cos \left (2 a-\frac {2 b c}{d}\right ) \text {Ci}\left (\frac {2 b c}{d}+2 b x\right )}{d^2}-\frac {2 \sin (2 a+2 b x)}{d (c+d x)}-\frac {3 b \sin \left (2 a-\frac {2 b c}{d}\right ) \text {Si}\left (\frac {2 b c}{d}+2 b x\right )}{d^2}+\frac {\left (b \cos \left (2 a-\frac {2 b c}{d}\right )\right ) \int \frac {\cos \left (\frac {2 b c}{d}+2 b x\right )}{c+d x} \, dx}{d}-\frac {\left (b \sin \left (2 a-\frac {2 b c}{d}\right )\right ) \int \frac {\sin \left (\frac {2 b c}{d}+2 b x\right )}{c+d x} \, dx}{d}-\int \frac {\tan (a+b x)}{(c+d x)^2} \, dx\\ &=\frac {4 b \cos \left (2 a-\frac {2 b c}{d}\right ) \text {Ci}\left (\frac {2 b c}{d}+2 b x\right )}{d^2}-\frac {2 \sin (2 a+2 b x)}{d (c+d x)}-\frac {4 b \sin \left (2 a-\frac {2 b c}{d}\right ) \text {Si}\left (\frac {2 b c}{d}+2 b x\right )}{d^2}-\int \frac {\tan (a+b x)}{(c+d x)^2} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 4.21, size = 0, normalized size = 0.00 \[ \int \frac {\sec (a+b x) \sin (3 a+3 b x)}{(c+d x)^2} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.44, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\sec \left (b x + a\right ) \sin \left (3 \, b x + 3 \, a\right )}{d^{2} x^{2} + 2 \, c d x + c^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sec \left (b x + a\right ) \sin \left (3 \, b x + 3 \, a\right )}{{\left (d x + c\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.49, size = 0, normalized size = 0.00 \[ \int \frac {\sec \left (b x +a \right ) \sin \left (3 b x +3 a \right )}{\left (d x +c \right )^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.00, size = 0, normalized size = 0.00 \[ -\frac {{\left (i \, E_{2}\left (\frac {2 i \, b d x + 2 i \, b c}{d}\right ) - i \, E_{2}\left (-\frac {2 i \, b d x + 2 i \, b c}{d}\right )\right )} \cos \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right ) + 2 \, {\left (d^{2} x + c d\right )} \int \frac {\sin \left (2 \, b x + 2 \, a\right )}{{\left (d x + c\right )}^{2} {\left (\cos \left (2 \, b x + 2 \, a\right )^{2} + \sin \left (2 \, b x + 2 \, a\right )^{2} + 2 \, \cos \left (2 \, b x + 2 \, a\right ) + 1\right )}}\,{d x} + {\left (E_{2}\left (\frac {2 i \, b d x + 2 i \, b c}{d}\right ) + E_{2}\left (-\frac {2 i \, b d x + 2 i \, b c}{d}\right )\right )} \sin \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right )}{d^{2} x + c d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [A] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {\sin \left (3\,a+3\,b\,x\right )}{\cos \left (a+b\,x\right )\,{\left (c+d\,x\right )}^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: HeuristicGCDFailed} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________